package tedu.study.ooday03extedns;

public class Teacher extends Person{

    double salary;//工资

    Teacher(){

    }

    void teach(){
       System.out.println(name+"在讲课...");
    }
}
